package com.ultrasoft.farmasoft.repository;
import java.util.List;
import com.ultrasoft.farmasoft.domain.Section;

public interface SectionDao {
	
	public List<Section> getSectionList();
	public List<Section> getSectionList(Integer idSection);
	public List<Section> getSectionListWithIdArticle(Integer idArticle);
	//public List<Section> getSectionListIdArticleActive(Integer idSection,boolean active);
	public List<Section> getSectionListArticleWithIdArticleActive(Integer idArticle, boolean active);
	
	//List Section with regionId and Active sectionWithRegionId
	public List<Section> getSectionWithRegionId(Integer idRegion, boolean active);
	public List<Section> getListDistictSectionWithRegionId(Integer idRegion, boolean active);
	
	public Section findSectionByID(Integer idSection);  
	
    public void remove(Section section);    
    public void update(Section section);
    public void add(Section section);
}
